package fhp.hlhj.giantfold.module

import java.util.ArrayList

/**
 * author: FHP
 * data: on 2017\11\29 0029 15:32
 * E-Mail: 103945089@qq.com
 */

class TaoBaoModule : ITaoBaoModule {
    override fun getHeadData(onCompelteListener: ITaoBaoModule.OnCompelteListener?) {
        for (i in 1..8){
            headDatas.add(i.toString())
        }
        onCompelteListener?.onCompelte()

    }

    internal var datas: MutableList<String> = ArrayList()
    internal var headDatas:ArrayList<String> =ArrayList()
    override fun getData(onCompelteListener: ITaoBaoModule.OnCompelteListener) {
        for (i in 0..4) {
            datas.add(i.toString() + "")
        }
        onCompelteListener.onCompelte()
    }

}
